# 	    Makefile edited by Schips
# 	    2018-02 schips@dingtalk.com

# 文件路径
SRCS = $(wildcard src/*.c)
OBJS = $(SRCS:.c = .o)
INCLUDES = -I ./inc
LIBS = -L ./lib

# 编译选项
CC = gcc
CCFLAGS = -g -Wall -O0


# 输出文件名
OUTPUT = hello


$(OUTPUT) : $(OBJS)
	@$(CC) $^ -o $@ $(INCLUDES) $(LIBS) 

clean:
	@rm $(OUTPUT)
.PHONY:clean

